﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DrawGizmosBessel : MonoBehaviour
{
    public float radius = 1;
    public List<Vector3> vector3s=new List<Vector3>();
    private void OnDrawGizmos()
    {

        //绘制曲线控制点连线
        Gizmos.color = Color.green;
        for (int i = 0; i < vector3s.Count -1; i ++)
        {
            Gizmos.DrawLine(vector3s[i], vector3s[i + 1]);
        }
    }
}
